Benjamin Otte [Wed, 16 Jun 2010 09:54:41 +0000 (11:54 +0200)]
Make declaration return a boolean when the function does that
Benjamin Otte [Wed, 16 Jun 2010 11:14:01 +0000 (13:14 +0200)]
Get rid of navigation region in GtkMenu
This completes the move to get rid of using a GdkRegion for the
navigation region and the only user of gdk_region_polygon(). We keep
track of the triangle and compute in/out points ourselves now.
Unfortunately the DRAW_STAYUP_TRIANGLES debugging code doesn't work
using cairo, so I removed it completely.
Benjamin Otte [Sun, 23 May 2010 19:06:24 +0000 (21:06 +0200)]
Create the navigation region without flipping
Gets rid of some code in preparation to switching to do the computation
completely without GdkRegion.
Yaron Shahrabani [Mon, 28 Jun 2010 11:42:40 +0000 (14:42 +0300)]
Updated Hebrew translation.
Yaron Shahrabani [Mon, 28 Jun 2010 10:42:58 +0000 (13:42 +0300)]
Updated Hebrew translation.
Tor Lillqvist [Sun, 27 Jun 2010 21:28:55 +0000 (00:28 +0300)]
Drop a leftover reference to libgdk_pixbuf-3.0.la
Tor Lillqvist [Sun, 27 Jun 2010 21:20:44 +0000 (00:20 +0300)]
We need to link gdk with the gio library for non-X11 backends
(For X11, we link with gio-unix which takes care of it.)
Tor Lillqvist [Sun, 27 Jun 2010 20:41:50 +0000 (23:41 +0300)]
Revert "Use wide character API in the Windows IME module"
Ha, pango_win32_font_logfontw hasn't been exported from libpangowin32
after all due to a typo. This will have to wait. And actually
libpangowin32 is supposed to be deprecated surely, so that
functionality should be moved to libpangocairo or something.
This reverts commit
804effba9938b3e5ffcad1e731fdf83daf3e0aac.
Tor Lillqvist [Sun, 27 Jun 2010 20:30:02 +0000 (23:30 +0300)]
Drop gdk-pixbuf files
Tor Lillqvist [Sun, 27 Jun 2010 20:20:17 +0000 (23:20 +0300)]
Use wide character API in the Windows IME module
Philip Withnall [Sun, 27 Jun 2010 14:39:02 +0000 (15:39 +0100)]
Add allow-none to gdk_window_set_cursor()
Jorge González [Sun, 27 Jun 2010 11:10:13 +0000 (13:10 +0200)]
Updated Spanish translation
Emmanuele Bassi [Sun, 27 Jun 2010 10:28:44 +0000 (11:28 +0100)]
Do not return values from a function returning void
Kristian Rietveld [Sun, 27 Jun 2010 08:32:12 +0000 (10:32 +0200)]
Move Leopard-specific type definitions to gdkquartz.h
Update includes subsequently where it matters. Fixes build on Mac OS
X 10.4.
(cherry picked from commit
e634f3fbe0498afc560530d9b92eb4709d7c7f97)
Kristian Rietveld [Sun, 27 Jun 2010 08:22:36 +0000 (10:22 +0200)]
Refactor to use API that's available in OS X 10.4 as well
(cherry picked from commit
3770d914ec3ac30248f8d187ccc9f5369d3a5fcc)
John Ralls [Sat, 26 Jun 2010 16:17:30 +0000 (18:17 +0200)]
Bug 622333 - Crash in gdk_window_impl_quartz_begin_paint_region
(cherry picked from commit
093a867e51b383b5c1877415b410cc3c122c72da)
Kristian Rietveld [Sat, 26 Jun 2010 15:12:35 +0000 (17:12 +0200)]
Flip clip mask image when setting clip mask on GC
(cherry picked from commit
9f5f47f8be10fe4bf8145498cf9158ed8e922d9c)
Kristian Rietveld [Sat, 26 Jun 2010 15:08:15 +0000 (17:08 +0200)]
Rework color translation to support gray scale and bitmaps
(cherry picked from commit
49f72c1fb4bf90fde0ba9c4b40794672b775d2a8)
Kristian Rietveld [Fri, 25 Jun 2010 20:40:27 +0000 (22:40 +0200)]
Add gray visual, implement "get_best" functions
(cherry picked from commit
42d07ad6ce643a2fdb3c38506e85afa07e7cd17f)
Matthias Clasen [Sun, 27 Jun 2010 04:15:06 +0000 (00:15 -0400)]
bump version
Matthias Clasen [Sun, 27 Jun 2010 03:22:43 +0000 (23:22 -0400)]
Update po files after the gdk-pixbuf removal
Matthias Clasen [Sun, 27 Jun 2010 03:16:36 +0000 (23:16 -0400)]
Updates
Matthias Clasen [Sun, 27 Jun 2010 03:02:08 +0000 (23:02 -0400)]
Use SED instead of sed
Matthias Clasen [Sun, 27 Jun 2010 03:00:47 +0000 (23:00 -0400)]
Misc documentation fixes
Matthias Clasen [Sun, 27 Jun 2010 02:35:56 +0000 (22:35 -0400)]
Use GREP, not grep
As reported in bug 621927
Matthias Clasen [Sun, 27 Jun 2010 01:56:03 +0000 (21:56 -0400)]
Update for the new, external gdk-pixbuf
Matthias Clasen [Sun, 27 Jun 2010 01:41:58 +0000 (21:41 -0400)]
don't build testapplication on OS X
See bug 622827
Matthias Clasen [Sun, 27 Jun 2010 01:40:55 +0000 (21:40 -0400)]
Remove stray references to gtk-2.0
Matthias Clasen [Sun, 27 Jun 2010 01:29:21 +0000 (21:29 -0400)]
Remove gdk-pixbuf pc files
Noticed in bug 622847.
Mirsal Ennaime [Sun, 27 Jun 2010 01:22:02 +0000 (21:22 -0400)]
Add an accessor for the GSEALed Gtkbutton's event_window attribute
* Add the gtk_button_get_event_window() function
Closes: bgo#622581
Matthias Clasen [Sun, 27 Jun 2010 01:04:31 +0000 (21:04 -0400)]
Add context to detail strings when drawing steppers
As usual, this is protected by a style property:
GtkRange::stepper-position-details
The detail strings are
<detail>_start, <detail>_end and <detail>_middle.
See bug 621250
Matthias Clasen [Sat, 26 Jun 2010 20:48:06 +0000 (16:48 -0400)]
Add an accessor for GdkImage->mem
See bug # 522756
Matthias Clasen [Sat, 26 Jun 2010 20:29:43 +0000 (16:29 -0400)]
Remove deprecated notebook api
Ignacio Casal Quinteiro [Thu, 24 Jun 2010 17:51:40 +0000 (19:51 +0200)]
Fix GtkTextBuffer annotations.
Khaled Hosny [Sat, 26 Jun 2010 18:39:02 +0000 (21:39 +0300)]
Updated Arabic translation
Matthias Clasen [Sat, 26 Jun 2010 05:08:19 +0000 (01:08 -0400)]
Remove pure gdk-pixbuf tests
These have been moved over to the gdk-pixbuf module.
Matthias Clasen [Sat, 26 Jun 2010 05:06:30 +0000 (01:06 -0400)]
Make GTK+ use an external gdk-pixbuf
John Ralls [Fri, 25 Jun 2010 22:22:48 +0000 (00:22 +0200)]
[quartz] Delete the typedef of GdkDevicePrivate
It's in gdkdevice.h now.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622765
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Javier Jardón [Fri, 25 Jun 2010 16:16:19 +0000 (18:16 +0200)]
[docs] Remove deprecated gdk_draw_bitmap() and gdk_draw_pixmap()
This completes commit
947cde30d9e214ea01d286dd09acc5a5d62aba11
Tristan Van Berkom [Fri, 25 Jun 2010 16:14:28 +0000 (12:14 -0400)]
Exposed GtkTreeView's internal GtkTreeSelection for builder files
Colin Walters [Fri, 25 Jun 2010 16:14:12 +0000 (12:14 -0400)]
Add --add-include-path to find just-built .gir files
Javier Jardón [Fri, 25 Jun 2010 00:32:44 +0000 (02:32 +0200)]
Remove gdk_draw_bitmap() and gdk_draw_pixmap() functions
Matthias Clasen [Thu, 24 Jun 2010 17:15:52 +0000 (13:15 -0400)]
Mention pot file update in the release howto
Javier Jardón [Thu, 24 Jun 2010 16:10:03 +0000 (18:10 +0200)]
[docs] Fix annotations: "(allow-none): (out)" -> "(out) (allow-none)"
Javier Jardón [Thu, 24 Jun 2010 15:28:18 +0000 (17:28 +0200)]
[GtkTable] Add gtk_table_get_size()
Add accessor function to retrieve the number of rows and columns
in the table.
Matthias Clasen [Thu, 24 Jun 2010 15:16:09 +0000 (11:16 -0400)]
Make gtk_window_group_get_current_grab public
See bug #620832.
Matthias Clasen [Thu, 24 Jun 2010 13:34:51 +0000 (09:34 -0400)]
Make the message area available in gtkbuilder as well
See bug 32069.
Ignacio Casal Quinteiro [Wed, 23 Jun 2010 13:52:59 +0000 (15:52 +0200)]
Fix annotation of gtk_text_iter_(forward/backward)_search.
Marek Kasik [Thu, 24 Jun 2010 07:27:16 +0000 (09:27 +0200)]
Don't handle CUPS' "connecting-to-device" state reason
CUPS backend shouldn't handle "connecting-to-device" state reason.
It shows "Printer '%s' may not be connected" for this state,
which is not true in almost all cases. Better is to use
"printer-state-message" which contains correct message (#622011).
Matthias Clasen [Thu, 24 Jun 2010 04:35:24 +0000 (00:35 -0400)]
Add an expander-in-dialog example
To show how I expect this kind of construction to work, makes it
easier to find the code the next time I need it somewhere.
Matthias Clasen [Thu, 24 Jun 2010 03:19:58 +0000 (23:19 -0400)]
Turn on GSEAL_ENABLE by default
We do this by adding -DGSEAL_ENABLE to the Cflags in the .pc files,
so you can get out of it by adding -UGSEAL_ENABLE after the pkg-config
generated flags.
Carlos Garnacho [Wed, 9 Jun 2010 15:52:14 +0000 (17:52 +0200)]
testinput: Do not use deprecated API.
Carlos Garnacho [Wed, 9 Jun 2010 15:50:26 +0000 (17:50 +0200)]
GtkWidget: ensure device events are set on realize.
https://bugzilla.gnome.org/show_bug.cgi?id=621690
Carlos Garnacho [Tue, 8 Jun 2010 13:19:32 +0000 (15:19 +0200)]
GtkWindow: Use client pointer on pointer-dependent positioning.
GTK_WIN_POS_MOUSE and GTK_WIN_POS_CENTER* now work relatively to the client
pointer.
Carlos Garnacho [Tue, 8 Jun 2010 13:27:40 +0000 (15:27 +0200)]
GtkDnD: Use client pointer if no event is available.
Carlos Garnacho [Tue, 8 Jun 2010 13:16:59 +0000 (15:16 +0200)]
GdkDeviceManager: Add gdk_device_manager_get_client_pointer().
This function makes a better replacement for
gdk_display_get_core_pointer(), wherever it might yet be needed, for
XI2 resorts to XIGetClientPointer(), for the others return the only
core pointer.
https://bugzilla.gnome.org/show_bug.cgi?id=621685
Javier Jardón [Thu, 24 Jun 2010 00:02:10 +0000 (02:02 +0200)]
[gtk-example-application] Use the new api
Javier Jardón [Wed, 23 Jun 2010 23:51:33 +0000 (01:51 +0200)]
[testapplication] Fix some compilation warnings
Javier Jardón [Wed, 23 Jun 2010 23:42:14 +0000 (01:42 +0200)]
[gailprogressbar] Remove unused variables
Javier Jardón [Wed, 23 Jun 2010 23:39:24 +0000 (01:39 +0200)]
[testinput] Fix compilation warning: Use guint instead int
Javier Jardón [Wed, 23 Jun 2010 23:37:29 +0000 (01:37 +0200)]
[gdkim] Remove unused function
Javier Jardón [Wed, 23 Jun 2010 23:32:23 +0000 (01:32 +0200)]
Remove unnused variable
Javier Jardón [Wed, 23 Jun 2010 23:31:01 +0000 (01:31 +0200)]
Fix warning: should pass gboolean*, not gboolean**
Fran Diéguez [Wed, 23 Jun 2010 23:00:49 +0000 (01:00 +0200)]
Updated Galician translations
Tristan Van Berkom [Wed, 23 Jun 2010 21:53:30 +0000 (17:53 -0400)]
Fixing debug build (s/extended layout/size request/ in GTK_NOTE flags).
Paolo Borelli [Wed, 23 Jun 2010 10:43:30 +0000 (12:43 +0200)]
Do not leak devices list in do_focus_change
noch [Wed, 23 Jun 2010 09:46:37 +0000 (14:46 +0500)]
Added Armenian translation - po file.
noch [Wed, 23 Jun 2010 09:33:09 +0000 (14:33 +0500)]
Modified Armenian translation - po file.
noch [Wed, 23 Jun 2010 07:28:08 +0000 (12:28 +0500)]
Added Armenian translation - po file. Modified LINGUAS.
Javier Jardón [Tue, 22 Jun 2010 23:28:35 +0000 (01:28 +0200)]
[gtk] Add gtk_font_selection_dialog_get_font_selection()
This is needed to access the fontsel sealed member.
Javier Jardón [Tue, 22 Jun 2010 20:26:18 +0000 (22:26 +0200)]
[test] Exclude message-area as it's a object property
Javier Jardón [Tue, 22 Jun 2010 19:50:33 +0000 (21:50 +0200)]
Add new api to gtk.symbols
Add newly added api gtk_accessible_set_widget() and
gtk_message_dialog_get_message_area()
Jorge González [Tue, 22 Jun 2010 19:15:07 +0000 (21:15 +0200)]
Updated Spanish translation
Javier Jardón [Tue, 22 Jun 2010 19:10:23 +0000 (21:10 +0200)]
[gtkaccessible] Use the correct guards in gtk_accessible_set_widget()
Also, allow the widget variable to be NULL
Tor Lillqvist [Tue, 22 Jun 2010 18:15:59 +0000 (21:15 +0300)]
Generate correct grab broken event for WM_KILLFOCUS
WM_KILLFOCUS means that a keyboard grab (not a pointer grab), if any,
has been broken. I don't think this bug has matterd much as gtk
generates a grab-broken-event signal for both keybord and pointer
grabs being broken anyway.
Federico Mena Quintero [Tue, 22 Jun 2010 18:10:52 +0000 (13:10 -0500)]
bgo#328069 - Add gtk_message_dialog_get_message_area()
Signed-off-by: Federico Mena Quintero <federico@novell.com>
Vincent Untz [Tue, 22 Jun 2010 10:24:38 +0000 (12:24 +0200)]
bgo#622371 - Add gtk_accessible_set_widget() - the widget field was GSEAL()ed.
https://bugzilla.gnome.org/show_bug.cgi?id=622371
Chris Kühl [Mon, 21 Jun 2010 16:29:38 +0000 (18:29 +0200)]
[docs] Fixes issue with GtkEntryBuffer signal documentation
Murray Cumming [Mon, 21 Jun 2010 13:21:44 +0000 (15:21 +0200)]
gtkenums.h: Remove trailing comma to fix warning.
Klemen Košir [Sun, 20 Jun 2010 09:40:58 +0000 (11:40 +0200)]
Updated Slovenian translation
Javier Jardón [Sun, 20 Jun 2010 06:20:42 +0000 (08:20 +0200)]
Do not distribute GIRs
Javier Jardón [Sat, 19 Jun 2010 23:14:17 +0000 (01:14 +0200)]
[gdkpango] Fix typo
Javier Jardón [Sat, 19 Jun 2010 22:49:15 +0000 (00:49 +0200)]
Remove unused gtk_style_get_font_internal() function
This function is no longer necesary as draw_string() function
was dropped from GtkStyle
See commit
5300dc2b36c1e533bea45046549f4cf9d3bdb687
Javier Jardón [Sat, 19 Jun 2010 22:46:38 +0000 (00:46 +0200)]
Remove gdk_input_* callbacks on file descriptors deprecated functions
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619687
Javier Jardón [Sat, 19 Jun 2010 21:01:14 +0000 (23:01 +0200)]
Remove GdkWChar deprecated code
Javier Jardón [Sat, 19 Jun 2010 22:14:43 +0000 (00:14 +0200)]
Remove deprecated gdk_text_* and gdk_string_* functions
Remove gdk_string_extents(), gdk_text_extents(),
gdk_text_extents_wc(), gdk_string_width(), gdk_text_width(),
gdk_text_width_wc(), gdk_string_measure(), gdk_text_measure(),
gdk_string_height(), gdk_text_height()
Javier Jardón [Sat, 19 Jun 2010 21:08:35 +0000 (23:08 +0200)]
Remove gdk_char_* deprecated functions
Remove gdk_char_width(), gdk_char_width_wc(), gdk_char_measure()
and gdk_char_height()
Javier Jardón [Sat, 19 Jun 2010 19:26:47 +0000 (21:26 +0200)]
Remove deprecated GdkDrawable functions
Remove gdk_drawable_get_data(), gdk_drawable_set_data(),
gdk_drawable_ref(), gdk_drawable_unref(),
gdk_draw_string(), gdk_draw_text(), gdk_draw_text_wc()
Matthias Clasen [Sat, 19 Jun 2010 02:27:26 +0000 (22:27 -0400)]
Prevent concurrent use of GTK+ 2 and 3
If we detect a gtk2-only symbol, error out early.
Matthias Clasen [Sat, 19 Jun 2010 01:58:36 +0000 (21:58 -0400)]
Fix make check
Matthias Clasen [Sat, 19 Jun 2010 01:58:19 +0000 (21:58 -0400)]
A forgotten rename
Emmanuele Bassi [Fri, 18 Jun 2010 13:26:57 +0000 (14:26 +0100)]
application: Remove a variable and silence a compiler warning
Emmanuele Bassi [Fri, 18 Jun 2010 13:26:05 +0000 (14:26 +0100)]
application: Revert the leak plug
The &s in the signature of a GVariant means "pass me a pointer". To
avoid repeating the same mistake, use a const gchar* to declare the
key.
Emmanuele Bassi [Fri, 18 Jun 2010 11:06:39 +0000 (12:06 +0100)]
application: Plug a leak
The key returned by g_variant_iter_next() should be freed as well.
Also, clean up the coding style a bit.
Tristan Van Berkom [Fri, 18 Jun 2010 04:32:09 +0000 (00:32 -0400)]
Fixed some typos in new docs that are about GtkSizeRequest (not GtkSizeGroup)
Tristan Van Berkom [Fri, 18 Jun 2010 04:12:55 +0000 (00:12 -0400)]
Removed extendedlayoutexample.c (was a failed git mv --> testheightforwidth.c)
Tristan Van Berkom [Fri, 18 Jun 2010 04:11:26 +0000 (00:11 -0400)]
Mass api change from GtkExtendedLayout --> GtkSizeRequest
This commit makes a few massive changes to the extended layout
code:
a.) gtkextendedlayout.c --> gtksizerequest.c
b.) _is_height_for_width --> get_request_mode()
c.) get_desired_size(), get_desired_width(), get_desired_height() -->
get_size(), get_width(), get_height()
This is the first partial commit and only effects portions
of the tree that have already been merged in master (in order to
easily cherry pick this commit).
Conflicts:
gtk/Makefile.am
gtk/gtk.h
gtk/gtk.symbols
gtk/gtkextendedlayout.h
Matthias Clasen [Fri, 18 Jun 2010 01:09:50 +0000 (21:09 -0400)]
Bump version
Matthias Clasen [Thu, 17 Jun 2010 16:54:10 +0000 (12:54 -0400)]
Updates
Christian Persch [Thu, 17 Jun 2010 22:25:06 +0000 (00:25 +0200)]
application: Fix marshaler for GVariant gtype change
Use VARIANT instead of BOXED.